<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

$id = UV::readInt(strip_tags($route->getByNum(5)));
$query = "delete from `news_comments` where `nc_id` = '$id' limit 1";
$comments = $db->sendQuery($query);

goToPage($_SERVER['HTTP_REFERER']);

?>